@extends('layouts.blank')

@section('content')
<div style="width:100%;text-align:center;display: table" id="box">
        <div style="vertical-align: middle;display: table-cell">
            <div class="msg msg-large msg-info">
                <div class="msg-con">
                    @if (session('message'))
                        {{ session('message') }}
                    @endif
                    <p>
                        2秒后自动跳转
                    </p>
                </div>
                <s class="msg-icon"></s>
            </div>
        </div>
    </div>
<iframe onload="setTimeout(function() { location.href='{{ $logout_route }}' }, 1000)" src="{{$caslogout_route}}" width="1" height="1" scrolling="no" frameborder="no" border="0" marginwidth="0" marginheight="0" allowtransparency="yes"></iframe>
@endsection
@section('script')
    <script>
        $(function () {
            $('#box').height($(window).height()*0.9);
            function jump(){
                setTimeout(function () {
                    location.href = '{{$logout_route}}';
                }, 1000);
            }
        });
        
    </script>
@endsection